// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import md5 from 'js-md5'
import Vant, { AddressList, AddressEdit, SwipeCell } from 'vant'
import 'vant/lib/index.css'
import '@/assets/style/iconfont.css'
import '@/assets/style/reset.css'

import 'swiper/dist/css/swiper.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'

Vue.use(VueAwesomeSwiper)
Vue.config.productionTip = false
Vue.prototype.md5 = md5

Vue.use(AddressList)
Vue.use(AddressEdit)
Vue.use(SwipeCell)

Vue.use(Vant)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
